package com.zrrd.mcl.activity.service;

import com.zrrd.mcl.common.result.Result;
import com.zrrd.mcl.model.activity.SeckillGoods;

import java.util.List;

public interface SeckillGoodsService {

    //查询秒杀商品列表
    List<SeckillGoods> getSeckillGoodsList();

    //根据id查询秒杀商品详情
    SeckillGoods getSeckillGoodsById(Long id);

    //添加秒杀商品
    void addSeckillGoods(Long skuId);

    //预约下单
    void seckillOrder(Long skuId, String userId);

    //查询订单
    Result checkorder(Long skuId, String userId);

}
